home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: xvt.com!xvtslp1
- From: bruce@xvt.com (Bruce A. Yelen)
- Subject: Re: Can a Unix compiler be used for dos apps?
- Message-ID: <DL7G0u.EyH@xvt.com>
- Sender: news@xvt.com
- Organization: XVT Software, INC.
- X-Newsreader: News Xpress Version 1.0 Beta #4
- References: <rmhanson.81.30F9A6C2@students.wisc.edu>
- Date: Mon, 15 Jan 1996 04:20:34 GMT
-
- In article <rmhanson.81.30F9A6C2@students.wisc.edu>,
- rmhanson@students.wisc.edu (ryan m hanson) wrote:
- >I don't have a good dos compiler + I use a 286, but I do use my
- >unix and emacs to do the coding. I used to use gcc on unix when I first
- >started, but would rather create dos apps (my texts direct to it).
- >
- >the question is there anyway I can use my unix box to run a compiler that
- >would create dos executables? Then just ftp the programs to my home.
- >
- >thanx
- >ryan
-
- DOS executables have a different format than UNIX. In theory, you could
- compile and link code on Unix to run under DOS but you would need a compiler
- specificaly for that purpose. I don't know of any myself.
-
- You might want to check some of the bookstores. I have seen complete DOS
- (usually older versions of some current commercial offerings) compilers
- included as part of "C" instructional manuals priced at $50.00 or less.
-
- Regards,
-
- Bruce
-